package com.itheima.a01abstractdemo01;

/***
 *@title Student
 *@description <TODO description class purpose>
 *@author 12468
 *@version 1.0.0
 *@create 2024/10/28 22:03
 **/
public class Student extends Person{

    public Student() {
    }

    public Student(String name, int age) {
        super(name, age);
    }

    @Override
    public void work() {
        System.out.println("学生的任务是学习");
    }
}
